#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "write_log.h"


int main()
{
	write_log("The main progrem is running, %s, %d", __FILE__, __LINE__);
	write_log("The main progrem is running, %s, %f", __FILE__, (float)__LINE__);
	write_log("The main progrem is running, %s, %u", __FILE__, __LINE__);
	write_log("The main progrem is running, %s, %x", __FILE__, __LINE__);

	MYLOG(DebugLog, "This is a test log, %d, %u, %x", __LINE__, __LINE__, __LINE__);
	MYLOG(InfoLog, "This is a test log, %d, %u, %x", __LINE__, __LINE__, __LINE__);
	MYLOG(AlarmLog, "This is a test log, %d, %u, %x", __LINE__, __LINE__, __LINE__);
	MYLOG(ErrLog, "This is a test log, %d, %u, %x", __LINE__, __LINE__, __LINE__);

	return 0;
}



